<?php
declare (strict_types = 1);

namespace app\model;


/**
 * @mixin Model
 * 
 * 
 * @property string id 
 * @property string goodsid 
 * @property string platform_gid 发货平台的商品id
 * @property string platform 商品所属平台
 * @property string isRecover 是否是可回收商品
 * @property string recoverSalesVolume 转卖数量
 * @property string sellerId 
 * @property string seller 
 * @property string title 
 * @property int image 
 * @property string price 
 * @property string sales 月销量
 * @property string sellCount 销量
 * @property int content 
 * @property string commentCount 
 * @property string category 商品分类
 * @property string SelfCateId 自定义分类
 * @property string indexCategory 
 * @property int subject_ids 专题ID
 * @property string location 
 * @property string status 0未上架1已上架
 * @property string mtime 
 * @property string ctime 
 * @property string recommendId 
 * @property int brandid 
 * @property string atIndex 首页
 * @property string weight 
 * @property string discount 折扣
 * @property string actid 活动id
 * @property string source 商品来源
 * @property int simage 
 * @property string fromUrl 原始链接
 * @property string is_newfrist 新人首单
 * @property string orig_goods_id 原始商品ID
 * @property string third_status 第三方系统中的商品状态 1已上架 2已上架
 * @property int weight2 
 * @property string purchase_price 进价
 */

class Goods extends Model
{
    protected $table='pt_goods';
    protected $canShowFields = ['id','goodsid','platform_gid','platform','isRecover','recoverSalesVolume','sellerId','seller','title','image','price','sales','sellCount','content','commentCount','category','SelfCateId','indexCategory','subject_ids','location','status','mtime','ctime','recommendId','brandid','atIndex','weight','discount','actid','source','simage','fromUrl','is_newfrist','orig_goods_id','third_status','weight2','purchase_price'];
    protected $updateFields = ['goodsid','platform_gid','platform','isRecover','recoverSalesVolume','sellerId','seller','title','image','price','sales','sellCount','content','commentCount','category','SelfCateId','indexCategory','subject_ids','location','status','mtime','recommendId','brandid','atIndex','weight','discount','actid','source','simage','fromUrl','is_newfrist','orig_goods_id','third_status','weight2','purchase_price'];
    protected $noticeName = '';

}